package com.work.dao;

import com.work.bean.User;

import java.util.List;

public interface UserDao {
     User queryUserByUsername(String uname);

     User queryUserByUserNameAndPassWord(String uname, String uPass);

     List<User> queryByType(String type);

     int saveUser(User user);

     int delete(Integer id);

     int update(User user);
}
